package com.expense.expenshare.client;

import com.expense.expenshare.client.gin.ExpenshareGinjector;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.shared.GWT;
import com.google.gwt.user.client.ui.HTMLPanel;
import com.google.gwt.user.client.ui.RootLayoutPanel;

public class Expenshare implements EntryPoint {

	@Override
	public void onModuleLoad() {
		HTMLPanel rootPanel = new HTMLPanel("");
		RootLayoutPanel.get().clear();
		RootLayoutPanel.get().add(rootPanel);
		
		final ExpenshareGinjector ginjector= GWT.create(ExpenshareGinjector.class);
		rootPanel.add(ginjector.getMainview());
		
	}

}
